package com.codemart.lanze.modules.cms.entity;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableName;
import com.codemart.lanze.common.base.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 广告位
 * @Author: lanze
 * @Date: 2019-09-13
 * @Version: V1.0
 */
@Data
@TableName("tb_advert_position")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "tb_advert_position对象", description = "广告位")
public class AdvertPosition extends BaseEntity<AdvertPosition> {

	private static final long serialVersionUID = 1L;

	/** 名称 */
	@ApiModelProperty(value = "名称")
	private java.lang.String name;

	/** 宽度 */
	@ApiModelProperty(value = "宽度")
	private java.lang.Integer width;

	/** 高度 */
	@ApiModelProperty(value = "高度")
	private java.lang.Integer height;

	/** 描述 */
	@ApiModelProperty(value = "描述")
	private java.lang.String description;

	/** 模版内容 */
	@ApiModelProperty(value = "模版内容")
	private java.lang.Object template;

	/** 默认显示个数 */
	@ApiModelProperty(value = "默认显示个数")
	private java.lang.Integer defultNumber;

	/** 广告数量 */
	@ApiModelProperty(value = "广告数量")
	private java.lang.Integer number;

	/** 状态 */
	@ApiModelProperty(value = "状态")
	private java.lang.String status;

	/** 排序 */
	@ApiModelProperty(value = "排序")
	private java.lang.Integer sort;

	/** 创建时间 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;

	/** 创建者 */
	@ApiModelProperty(value = "创建者")
	private java.lang.String createBy;

	/** 更新者 */
	@ApiModelProperty(value = "更新者")
	private java.lang.String updateBy;

	/** 更新时间 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;

	/** 备注信息 */
	@ApiModelProperty(value = "备注信息")
	private java.lang.String remarks;

	/** delFlag */
	@ApiModelProperty(value = "delFlag")
	private java.lang.Integer delFlag;

}
